package com.drug.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
public class PodiPd {
    private Integer podiId;

    private Integer podiPoid;

    private Integer podiDiid;

    private Integer podiHid;

    private Integer podiSurid;

    private Integer podiNumber;

    private String podiSettlement;

    private String podiReturn;

    private String podiOrder;

    private String podiWarehousing;

    private String podiDelivery;

    private String podiWarehousingTotal;

    private String podiSettlementTotal;

    private String podiReturnTotal;

    private String podiOrderTotal;

    private String podiDeliveryTotal;

    private String podiTotal;

    private String podiState;

    private String podiIsdel;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date podiCreatetime;

    //医院
    private Hospital hospital;

    //药品信息表
    private DrugInformation drugInformation;

    //药品目录表
    private DrugAtegory drugAtegory;

    //药品类别表
    private DrugCategory drugCategory;

    //订单表
    private PurchaseOrder purchaseOrder;

    //供货企业
    private Manufacturer manufacturer;

    //供货商
    private Supplier supplier;
}